package com.three.vip.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.three.core.entity.FrontUser;
import com.three.core.vo.R;
import org.apache.ibatis.annotations.Param;

/**
 * @author ：JinShiYan
 * @date ：Created in 2025/3/12 16:05
 * @description：
 * @modified By：
 * @version:
 */
public interface FrontUserMapper extends BaseMapper<FrontUser> {

    IPage<FrontUser> selectByCondition(@Param("page") IPage<FrontUser> page,
                                       @Param("userName") String userName,
                                       @Param("userId") Integer userId);

    IPage<FrontUser> selectByConditionAdmin(@Param("page") Page<FrontUser> page,
                                            @Param("userName") String userName);
}
